package lpl.com.xyd.test.manage.convert;

import lpl.com.xyd.test.manage.domain.ProjectDomain;
import lpl.com.xyd.test.manage.info.ProjectInfo;
import org.springframework.beans.BeanUtils;

public class ProjectConvert {

    public static ProjectInfo convert(ProjectDomain domain){
        ProjectInfo info = new ProjectInfo();
        BeanUtils.copyProperties(domain,info);
        return info;
    }
}
